<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="referrer" content="no-referrer" />
    <meta name="viewport" content="width=device-width, initial-scale=1,
            maximum-scale=1,
            minimum-scale=1, user-scalable=no" />
    <link rel="stylesheet" href="./assest/style/reset.css">
    <link rel="stylesheet" href="./assest/style/font/iconfont.css">
    <link rel="stylesheet" href="./assest/style/common.css">
    <link rel="stylesheet" href="./assest/style/set.css">
    <title>需求</title>
</head>

<body>
    <div class="my-set">
        <header class="fcc f18">设置</header>
        <div class="pl-15
                pr-15 bg-fff mt-5">
            <div class="item bg-fff flex aic jc-sb">
                <span>密码</span>
                <i class="icon iconfont
                        icon-iconfontyoujiantou-copy-copy-copy-copy"></i>
            </div>
            <div class="item bg-fff flex aic jc-sb">
                <span>手机号码</span>
                <i class="icon iconfont
                        icon-iconfontyoujiantou-copy-copy-copy-copy"></i>
            </div>
        </div>
        <div id="logout" class="item fixed logout fcc">退出</div>
    </div>

    <script src="./js/jQuery.js"></script>
    <script>
        var Set = {
            bindEvents() {
                $('#logout').on('click', function () {
                    localStorage.phone = '';
                    localStorage.userId = '';
                    location.href = './my.html';
                })
            }
        }

        Set.bindEvents();
    </script>
</body>

</html>